]> dgit.raspbian.org Git - gnome-shell.git/commit
messageTray: add close button to notifications
authorAna Risteska <a.risteska@gmail.com>
Sat, 18 Aug 2012 23:34:49 +0000 (01:34 +0200)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 20 Aug 2012 01:15:51 +0000 (21:15 -0400)
commit5c6b1fd0cc6d175bbd8f35ff5cf726c6119d4ff9
tree0b9fbb6d347225276411d7fe1681e6ab8d4d6686
parentf8eab659d9b732918fb17923c22ec08bf09315c8
messageTray: add close button to notifications

Displaying a close button provides a discoverable way to close notifications.
Clicking the close button on new notifications, dismisses them, but doesn't
remove the notification source from the message tray if it is resident.

Clicking the close button on summary notifications acts the same way as clicking
"Remove" option in the right click menu, which is to remove the notification
stack and its source, even if it is resident or a tray icon.
js/ui/messageTray.js